import crypto from 'crypto-js'

export function encrypto(key) {
    let key_ = crypto.enc.Utf8.parse(key)
    let val_ = crypto.MD5(key_)
    return val_.toString().toUpperCase()
}